home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
cpp_libs
/
answrbok
/
6_11.lha
/
6_11
/
makefile
< prev
next >
Wrap
Makefile
|
1993-08-08
|
1KB
|
40 lines
C= CC -I. -I../../CC
FLAGS= -I.
RROR= ../../error.o
BJ= 6_11_add.o 6_11_cmp.o \
6_11_c1.o 6_11_c2.o 6_11_c3.o 6_11_cd.o \
6_11_div.o 6_11_eq.o 6_11_eq1.o 6_11_eq2.o \
6_11_ge.o 6_11_gt.o 6_11_in.o 6_11_le.o \
6_11_lt.o 6_11_min.o 6_11_mul.o 6_11_ne.o \
6_11_neg.o 6_11_out.o 6_11_pos.o outputarb.o
RC= $(OBJ:.o=.c)
ll: tst
st: tst.o $(OBJ)
$(CC) tst.o $(OBJ) -o tst -lm $(ERROR)
(OBJ): arbint.h 6_11a.h 6_11b.h
MP= tst1.cmp tst2.cmp tst3.cmp tst4.cmp tst5.cmp tst6.cmp tst7.cmp
UT= tst1.out tst2.out tst3.out tst4.out tst5.out tst6.out tst7.out
st1.out: tst tst1.in ; tst < tst1.in > tst1.out
st2.out: tst tst2.in ; tst < tst2.in > tst2.out
st3.out: tst tst3.in ; tst < tst3.in > tst3.out
st4.out: tst tst4.in ; tst < tst4.in > tst4.out
st5.out: tst tst5.in ; tst < tst5.in > tst5.out
st6.out: tst tst6.in ; tst < tst6.in > tst6.out
st7.out: tst tst7.in ; tst < tst7.in > tst7.out
est: all $(OUT) $(CMP)
cmp tst1.cmp tst1.out
cmp tst2.cmp tst2.out
cmp tst3.cmp tst3.out
cmp tst4.cmp tst4.out
cmp tst5.cmp tst5.out
cmp tst6.cmp tst6.out
cmp tst7.cmp tst7.out
echo tests done